<?php /*a:3:{s:62:"G:\phpstudy\mycltphp\application\admin\view\content/index.html";i:1548244484;s:60:"G:\phpstudy\mycltphp\application\admin\view\common/head.html";i:1547648804;s:60:"G:\phpstudy\mycltphp\application\admin\view\common/foot.html";i:1547648788;}*/ ?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title><?php echo config('sys_name'); ?>后台管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/mycltphp/public/static/plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/mycltphp/public/static/admin/css/global.css" media="all">
    <link rel="stylesheet" href="/mycltphp/public/static/common/css/font.css" media="all">
    <script>var ROOT = "/mycltphp/public";</script>
    <script type="text/javascript" src="/mycltphp/public/static/plugins/layui/layui.js"></script>
</head>
<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>">
<div class="layui-box" id="content_box">
    <div class="left_atree">
         <div class="folder_all">
         <a href="#"><img src="/mycltphp/public/static/admin/images/minus.gif" />.<img src="/mycltphp/public/static/admin/images/folder_all.png" /> 展开/收缩</a>
         </div>
         <ul id="tree" class="filetree">
             <li><span class="folder">一级目录</span>
             <?php echo $categorys; ?>
        </ul>
    </div>
    <div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;">
          <iframe name='right' src="<?php echo url('lists'); ?>" style="width:100%; " id="right" frameBorder=0 ></iframe>
    </div><!--内框-->
</div>
<script>var ROOT = "/mycltphp/public";</script>


<script type="text/javascript" src="/mycltphp/public/static/common/js/jquery.2.1.1.min.js"></script>
<link rel="stylesheet" href="/mycltphp/public/static/plugins/treeview/css/jquery.treeview.css" type="text/css" />
<script type="text/javascript" src="/mycltphp/public/static/plugins/treeview/jquery.cookie.js"></script>
<script type="text/javascript" src="/mycltphp/public/static/plugins/treeview/jquery.treeview.js"></script>
<script type="text/javascript">
   $("#tree").treeview();
</script>
<script>
    layui.use('table', function() {
        var table = layui.table, $ = layui.jquery;
        //搜索
        $('#search').on('click', function () {
            var key = $('#key').val();
            if ($.trim(key) === '') {
                layer.msg('<?php echo lang("pleaseEnter"); ?>关键字！', {icon: 0});
                return;
            }
            tableIn.reload({ page: {page: 1}, where: {key: key,catid:'<?php echo input("catid"); ?>'} });
        });
        var h = document.documentElement.clientHeight + 5;
        $("#content_box").css({'height':h + 'px'})
        $(".left_atree").css({'height':h + 'px'})
		$("#right").css({'height':(h - 10)+ 'px'})
		$(window).resize(function(){
		    var h = document.documentElement.clientHeight +5;
			$("#content_box").css({'height':h + 'px'})
			$(".left_atree").css({'height':h + 'px'})
			$("#right").css({'height':(h - 10) + 'px'})
		});
    });
</script>